package com.sys.service.impl;

import com.sys.entity.Concert;
import com.sys.mapper.ConcertMapper;
import com.sys.service.ConcertService;

import java.util.List;

public class ConcertServiceImpl implements ConcertService {
    private ConcertMapper concertMapper;

    @Override
    public List<Concert> selectAll(Integer Currentpage, Integer pageSize) {
        return concertMapper.selectAll(Currentpage,pageSize);
    }

    @Override
    public Integer selectCount() {
        return concertMapper.selectCount();
    }

    @Override
    public Integer selectName(String concertName) {
        return concertMapper.selectName(concertName);
    }

    @Override
    public Integer addConcert(Concert concert) {
        return concertMapper.addConcert(concert);
    }
}
